package com.example.Announcement.domain;

import io.swagger.annotations.ApiModelProperty;

import java.time.LocalDateTime;

public class Announcement {
    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getAnnouncement() {
        return announcement;
    }

    public void setAnnouncement(String announcement) {
        this.announcement = announcement;
    }

    public String getAnnouncement_theme() {
        return announcement_theme;
    }

    public void setAnnouncement_theme(String announcement_theme) {
        this.announcement_theme = announcement_theme;
    }

    public String getAnnouncement_content() {
        return announcement_content;
    }

    public void setAnnouncement_content(String announcement_content) {
        this.announcement_content = announcement_content;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getCreate_by() {
        return create_by;
    }

    public void setCreate_by(String create_by) {
        this.create_by = create_by;
    }

    public LocalDateTime getCreate_time() {
        return create_time;
    }

    public void setCreate_time(LocalDateTime create_time) {
        this.create_time = create_time;
    }

    public String getUpdate_by() {
        return update_by;
    }

    public void setUpdate_by(String update_by) {
        this.update_by = update_by;
    }

    public LocalDateTime getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(LocalDateTime update_time) {
        this.update_time = update_time;
    }

    public String getReading() {
        return reading;
    }

    public void setReading(String reading) {
        this.reading = reading;
    }

    public Long getAnnouncementId() {
        return announcementId;
    }

    public void setAnnouncementId(Long announcementId) {
        this.announcementId = announcementId;
    }

    @ApiModelProperty(value = "公告")
    private  int id;

    @ApiModelProperty(value = "公告")
    private  String announcement;

    @ApiModelProperty(value = "公告主题")
    private  String announcement_theme;

    @ApiModelProperty(value = "公告内容")
    private  String announcement_content;

    @ApiModelProperty(value = "公告状态")
    private  String state;

    @ApiModelProperty(value = "创造人")
    private  String create_by;

    @ApiModelProperty(value = "创造时间")
    private LocalDateTime create_time;

    @ApiModelProperty(value = "修改人")
    private  String update_by;

    @ApiModelProperty(value = "修改时间")
    private  LocalDateTime update_time;

    @ApiModelProperty(value = "阅读量")
    private  String reading;

    private Long announcementId;

}
